﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001101 RID: 4353
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectChessRogueNousSubStoryScRsp : IMessage<SelectChessRogueNousSubStoryScRsp>, IMessage, IEquatable<SelectChessRogueNousSubStoryScRsp>, IDeepCloneable<SelectChessRogueNousSubStoryScRsp>, IBufferMessage
	{
		// Token: 0x17003724 RID: 14116
		// (get) Token: 0x0600C2C2 RID: 49858 RVA: 0x0020EEA7 File Offset: 0x0020D0A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectChessRogueNousSubStoryScRsp> Parser
		{
			get
			{
				return SelectChessRogueNousSubStoryScRsp._parser;
			}
		}

		// Token: 0x17003725 RID: 14117
		// (get) Token: 0x0600C2C3 RID: 49859 RVA: 0x0020EEAE File Offset: 0x0020D0AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectChessRogueNousSubStoryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003726 RID: 14118
		// (get) Token: 0x0600C2C4 RID: 49860 RVA: 0x0020EEC0 File Offset: 0x0020D0C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectChessRogueNousSubStoryScRsp.Descriptor;
			}
		}

		// Token: 0x0600C2C5 RID: 49861 RVA: 0x0020EEC7 File Offset: 0x0020D0C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueNousSubStoryScRsp()
		{
		}

		// Token: 0x0600C2C6 RID: 49862 RVA: 0x0020EED0 File Offset: 0x0020D0D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueNousSubStoryScRsp(SelectChessRogueNousSubStoryScRsp other) : this()
		{
			this.rogueDialogueEventId_ = other.rogueDialogueEventId_;
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this.iBGBNAJCIHD_ = other.iBGBNAJCIHD_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C2C7 RID: 49863 RVA: 0x0020EF24 File Offset: 0x0020D124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueNousSubStoryScRsp Clone()
		{
			return new SelectChessRogueNousSubStoryScRsp(this);
		}

		// Token: 0x17003727 RID: 14119
		// (get) Token: 0x0600C2C8 RID: 49864 RVA: 0x0020EF2C File Offset: 0x0020D12C
		// (set) Token: 0x0600C2C9 RID: 49865 RVA: 0x0020EF34 File Offset: 0x0020D134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RogueDialogueEventId
		{
			get
			{
				return this.rogueDialogueEventId_;
			}
			set
			{
				this.rogueDialogueEventId_ = value;
			}
		}

		// Token: 0x17003728 RID: 14120
		// (get) Token: 0x0600C2CA RID: 49866 RVA: 0x0020EF3D File Offset: 0x0020D13D
		// (set) Token: 0x0600C2CB RID: 49867 RVA: 0x0020EF45 File Offset: 0x0020D145
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x17003729 RID: 14121
		// (get) Token: 0x0600C2CC RID: 49868 RVA: 0x0020EF4E File Offset: 0x0020D14E
		// (set) Token: 0x0600C2CD RID: 49869 RVA: 0x0020EF56 File Offset: 0x0020D156
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IBGBNAJCIHD
		{
			get
			{
				return this.iBGBNAJCIHD_;
			}
			set
			{
				this.iBGBNAJCIHD_ = value;
			}
		}

		// Token: 0x1700372A RID: 14122
		// (get) Token: 0x0600C2CE RID: 49870 RVA: 0x0020EF5F File Offset: 0x0020D15F
		// (set) Token: 0x0600C2CF RID: 49871 RVA: 0x0020EF67 File Offset: 0x0020D167
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600C2D0 RID: 49872 RVA: 0x0020EF70 File Offset: 0x0020D170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectChessRogueNousSubStoryScRsp);
		}

		// Token: 0x0600C2D1 RID: 49873 RVA: 0x0020EF80 File Offset: 0x0020D180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectChessRogueNousSubStoryScRsp other)
		{
			return other != null && (other == this || (this.RogueDialogueEventId == other.RogueDialogueEventId && this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && this.IBGBNAJCIHD == other.IBGBNAJCIHD && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C2D2 RID: 49874 RVA: 0x0020EFEC File Offset: 0x0020D1EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.RogueDialogueEventId != 0U)
			{
				num ^= this.RogueDialogueEventId.GetHashCode();
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num ^= this.IBGBNAJCIHD.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C2D3 RID: 49875 RVA: 0x0020F076 File Offset: 0x0020D276
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C2D4 RID: 49876 RVA: 0x0020F07E File Offset: 0x0020D27E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C2D5 RID: 49877 RVA: 0x0020F088 File Offset: 0x0020D288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RogueDialogueEventId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.RogueDialogueEventId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.IBGBNAJCIHD);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C2D6 RID: 49878 RVA: 0x0020F118 File Offset: 0x0020D318
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.RogueDialogueEventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RogueDialogueEventId);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IBGBNAJCIHD);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C2D7 RID: 49879 RVA: 0x0020F1A0 File Offset: 0x0020D3A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectChessRogueNousSubStoryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.RogueDialogueEventId != 0U)
			{
				this.RogueDialogueEventId = other.RogueDialogueEventId;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			if (other.IBGBNAJCIHD != 0U)
			{
				this.IBGBNAJCIHD = other.IBGBNAJCIHD;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C2D8 RID: 49880 RVA: 0x0020F218 File Offset: 0x0020D418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C2D9 RID: 49881 RVA: 0x0020F224 File Offset: 0x0020D424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 8U)
					{
						this.RogueDialogueEventId = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.IBGBNAJCIHD = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.ChessRogueSubStoryId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004EA3 RID: 20131
		private static readonly MessageParser<SelectChessRogueNousSubStoryScRsp> _parser = new MessageParser<SelectChessRogueNousSubStoryScRsp>(() => new SelectChessRogueNousSubStoryScRsp());

		// Token: 0x04004EA4 RID: 20132
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004EA5 RID: 20133
		public const int RogueDialogueEventIdFieldNumber = 1;

		// Token: 0x04004EA6 RID: 20134
		private uint rogueDialogueEventId_;

		// Token: 0x04004EA7 RID: 20135
		public const int ChessRogueSubStoryIdFieldNumber = 9;

		// Token: 0x04004EA8 RID: 20136
		private uint chessRogueSubStoryId_;

		// Token: 0x04004EA9 RID: 20137
		public const int IBGBNAJCIHDFieldNumber = 8;

		// Token: 0x04004EAA RID: 20138
		private uint iBGBNAJCIHD_;

		// Token: 0x04004EAB RID: 20139
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04004EAC RID: 20140
		private uint retcode_;
	}
}
